package com.example.myui.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.InflateException;
import android.view.View;

import com.example.myui.R;

public class EditActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_edit);
    }

    public void goBack(View view) {
        setResult(101);
        finish();
    }

    public void goBackFailed(View view) {
        setResult(102);
        finish();
    }
}
